layui.define([], function(exports) {
	"use strict";

	const MOD_NAME = 'session';

	const session = new function() {
		
		this.put = function(key,value){
			sessionStorage.setItem(key,value);
		}

		this.get = function(key){
			return sessionStorage.getItem(key);
		}

		this.remove = function (key){
			sessionStorage.removeItem(key);
		}
	}
	exports(MOD_NAME, session);
});
